package com.yeyks.consumer.param.UserInfo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/12/10 0010 10:17
 */
@ApiModel(description = "设置企业账户输入参数")
@Data
public class UserInfoSetBusinessParam implements Serializable {
    private static final long serialVersionUID = 6387638481924628582L;

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @ApiModelProperty(value = "1.普通用户，2企业用户", allowableValues = "1,2")
    @NotNull(message = "用户类型不能为空")
    private Integer type;
}
